package com.sc.student.service.impl;

import com.sc.student.mapper.StudentMapper;
import com.sc.student.pojo.Student;
import com.sc.student.service.StudentService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: abdcefg
 * 描述：
 * @author: NB
 * @create: 2020-09-27 19:31
 **/
@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    StudentMapper mapper;
    @Override
    public Student selectByUsernameAndPasswrod(String username, String password) {
        return mapper.selectByUsernameAndPassword(username, password);
    }
}
